package com.example.natatorium_management.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Reserve {
  @TableId("reserve_id")
  private Long reserveId;
  private String reserveName;
  private Long phone;
  private String memberName;
  private String gymnasiumName;
  private Long peoplenum;
  private String coachName;
  private String shichang;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date reserveTime;
  private String remarks;
  private long state;

}
